package descarte.com.br.descarte;

import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class FornecedorActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fornecer);

        ActionBar actionBar = getActionBar();
        actionBar.setTitle("Reciclagens");
        actionBar.setDisplayHomeAsUpEnabled(true);

        Button btNovaReciclagem = (Button) findViewById(R.id.novaReciclagem);
        btNovaReciclagem.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(FornecedorActivity.this, NovaReciclagemActivity.class);
                startActivity(intent);
            }
        });
    }

}
